home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / ViePratique / gnucash / gnucash-2.6.5-setup.exe / {app} / share / themes / Blueprint-Ice / gtk-2.0 / gtkrc < prev    next >
Text File  |  2005-04-07  |  28KB  |  1,306 lines

  1. include "iconrc"
  2.  
  3. style "default"
  4. {
  5.   bg[NORMAL]      = "#E3E3EE"
  6.   bg[PRELIGHT]    = "#e6e6e6"
  7.   bg[ACTIVE]      = "#E3E3EE"
  8.   bg[SELECTED]    = "#549de5"
  9.   bg[INSENSITIVE] = "#E3E3EE"
  10.  
  11.   base[SELECTED]  = "#594fbf"
  12.   base[ACTIVE]    = "#888888"
  13.   base[INSENSITIVE] = "#f0f0f0"
  14.  
  15.   text[SELECTED]  = "#ffffff"
  16.   text[ACTIVE]    = "#ffffff"
  17.  
  18.   fg[NORMAL]      = "#000000"
  19.   fg[ACTIVE]      = "#000000"
  20.   fg[PRELIGHT]    = "#594fbf"
  21.   fg[SELECTED]    = "#ffffff"
  22.   fg[INSENSITIVE] = "#777777"
  23.  
  24.   GtkMenuBar::internal-padding = 0 
  25.   GtkToolbar::internal-padding = 0 
  26.  
  27.   PanelMenu::stripe-enabled = TRUE
  28.   PanelMenu::stripe-gradient-top = "#ced5e8"
  29.   PanelMenu::stripe-gradient-bottom = "#1e5d70"
  30.  
  31.   engine "blueprint"
  32.     {
  33.       icon_colorize = TRUE 
  34.       icon_colorize_ancestor_type = { "BonoboUIToolbar", "GtkToolbar" }
  35.       colorize_color = { 89, 79, 191, 160}
  36.  
  37. # begin combo box specs
  38.      image
  39.     {
  40.       function      = BOX
  41.       file          = "comboBoxButton.png"
  42.       stretch      = TRUE
  43.       parent_type      = { "GtkCombo", "GnomeEntry" }
  44.       state          = NORMAL
  45.     }
  46.      image
  47.     {
  48.       function      = BOX
  49.       file          = "comboBoxButtonInsensitive.png"
  50.       stretch      = TRUE
  51.       parent_type      = { "GtkCombo", "GnomeEntry" }
  52.       state          = INSENSITIVE
  53. #          recolorable      = TRUE
  54. #      colorize_color  = { 120, 130, 141, 127 } 
  55.     }
  56.       image
  57.     {
  58.       function      = BOX
  59.       file          = "comboBoxButtonPrelight.png"
  60.       stretch      = TRUE
  61.       parent_type      = { "GtkCombo", "GnomeEntry" }
  62.       state          = PRELIGHT
  63.     }
  64.       image
  65.     {
  66.       function      = BOX
  67.       file          = "comboBoxButtonActive.png"
  68.       stretch      = TRUE
  69.       parent_type      = { "GtkCombo", "GnomeEntry" }
  70.       state          = ACTIVE
  71.     }
  72.       image
  73.     {
  74.       function      = ARROW
  75.       overlay_file    = "noArrow.png"
  76.       parent_type      = { "GtkCombo", "GnomeEntry" }
  77.     }
  78.     
  79. # end combo box specs
  80.       image
  81.     {
  82.       function      = BOX
  83.       file          = "noArrow.png"
  84.       stretch      = TRUE
  85.       detail      = "button"
  86.       parent_type      = { "GtkToolbar", "BonoboUIToolbarButtonItem" }
  87.     }
  88.  
  89.       image
  90.     {
  91.       function      = BOX
  92.       file          = "generalButton.png"
  93.       border      = {3, 3, 3, 3}
  94.       stretch      = TRUE
  95.       state          = NORMAL
  96.       detail      = "button"
  97. #      recolorable      = TRUE
  98. #          colorize_color  = { 46, 114, 117, 127}
  99.     }
  100.       image
  101.     {
  102.       function      = BOX
  103.       file          = "generalButtonInsensitive.png"
  104.       border      = {3, 3, 3, 3}
  105.       stretch      = TRUE
  106.       state          = INSENSITIVE
  107.       detail      = "button"
  108. #      recolorable      = TRUE
  109. #          colorize_color  = { 0, 0, 0, 64}
  110.     }
  111.       image
  112.     {
  113.       function      = BOX
  114.       file          = "generalButton.png"
  115.       border      = {3, 3, 3, 3}
  116.       stretch      = TRUE
  117.       overlay_file      = "generalButtonPrelight.png"
  118.       overlay_border  = {3, 3, 3, 3}
  119.       overlay_stretch = TRUE
  120. #      overlay_recolorable = TRUE
  121. #      overlay_colorize_color    = { 255, 0, 0, 255}
  122.       state          = PRELIGHT
  123.       detail      = "button"
  124.       shadow      = OUT
  125.     }
  126.      image
  127.     {
  128.       function      = BOX
  129.       file          = "generalButtonDwn.png"
  130.       border      = {3, 3, 3, 3}
  131.       stretch      = TRUE
  132.       state          = PRELIGHT
  133.       shadow      = IN
  134.       detail      = "button"
  135.     }
  136.       image
  137.     {
  138.       function      = BOX
  139.       file          = "generalButton.png"
  140.       border      = {3, 3, 3, 3}
  141.       stretch      = TRUE
  142.       state          = PRELIGHT
  143.       detail      = "button"
  144.     }
  145.       image
  146.     {
  147.       function      = BOX
  148.       file          = "generalButtonDwn.png"
  149.       border      = {3, 3, 3, 3}
  150.       stretch      = TRUE
  151.       state          = ACTIVE 
  152.       detail      = "button"
  153.       recolorable      = TRUE
  154.           colorize_color  = "black"
  155.     }
  156.       image
  157.     {
  158.       function      = BOX
  159.       file          = "generalButton.png"
  160.       border      = {3, 3, 3, 3}
  161.       stretch      = TRUE
  162.       state          = NORMAL
  163.       detail      = "buttondefault"
  164. #      recolorable      = TRUE
  165. #          colorize_color  = { 46, 114, 117, 127}
  166.     }
  167.       image
  168.     {
  169.       function      = BOX
  170.       file          = "menuBorderButton.png"
  171.       border      = {3, 2, 5, 5}
  172.       stretch      = TRUE
  173.       detail      = "menubar"
  174.       recolorable      = TRUE
  175.       colorize_color  = { 227, 227, 238, 127}
  176.     }
  177.       image
  178.     {
  179.       function      = BOX
  180.       file          = "horzScrollInd.png"
  181.       border      = {2, 2, 2, 2}
  182.       stretch      = TRUE
  183.       detail      = "bar"
  184.       orientation      = HORIZONTAL
  185.     }
  186.       image
  187.     {
  188.       function      = BOX
  189.       file          = "vertScrollInd.png"
  190.       border      = {2, 2, 2, 2}
  191.       stretch      = TRUE
  192.       detail      = "bar"
  193.       orientation      = VERTICAL
  194.     }
  195.       image
  196.     {
  197.       function      = SHADOW 
  198.       file          = "toolbar.png"
  199.       border      = {1, 1, 1, 1}
  200.       stretch      = TRUE
  201.       detail      = "toolbar"
  202.       recolorable      = TRUE
  203.       colorize_color  = { 227, 227, 238, 127}
  204.     }
  205.       image
  206.     {
  207.       function      = SHADOW 
  208.       file          = "toolbar.png"
  209.       border      = {1, 1, 1, 1}
  210.       stretch      = TRUE
  211.       detail      = "dockitem_bin"
  212.       recolorable      = TRUE
  213.       colorize_color  = { 227, 227, 238, 127}
  214.     }
  215.     }
  216. }
  217.  
  218. class "GtkWidget" style "default"
  219.  
  220. style "checkradiobutton" {
  221.   engine "blueprint" {
  222. #radio Button  
  223.     image 
  224.       {
  225.         function        = OPTION
  226.     overlay_file    = "radioPrelight.png"
  227.     shadow          = OUT
  228.     overlay_stretch = FALSE
  229.     state        = PRELIGHT
  230.       }
  231.     image 
  232.       {
  233.         function        = OPTION
  234.     overlay_file    = "radioActivePrelight.png"
  235.     shadow          = IN
  236.     overlay_stretch = FALSE
  237.     state        = PRELIGHT
  238.       }
  239. # insensitive
  240.     image 
  241.       {
  242.         function        = OPTION
  243.     file        = "radio.png"
  244.     recolorable    = TRUE
  245.     colorize_color  = { 0, 0, 0, 127}
  246.     state        = INSENSITIVE
  247.       }
  248. # inconsistent
  249.     image 
  250.       {
  251.         function        = OPTION
  252.     shadow          = ETCHED_IN
  253.     file        = "radio.png"
  254.     recolorable    = TRUE
  255.     colorize_color  = { 0, 0, 0, 127}
  256.       }
  257.  
  258.     image 
  259.       {
  260.         function        = OPTION
  261.     shadow          = OUT
  262.     overlay_file    = "radio.png"
  263.     overlay_border  = { 0, 0, 0, 0 }
  264.     overlay_stretch = FALSE
  265.       }
  266.  
  267.      image 
  268.       {
  269.         function        = OPTION
  270.     shadow          = IN
  271.     overlay_file    = "radioActive.png"
  272.     overlay_border  = { 0, 0, 0, 0 }
  273.     overlay_stretch = FALSE
  274.       }
  275. #Check Button
  276.     image 
  277.       {
  278.         function        = CHECK
  279.     overlay_file    = "checkPrelight.png"
  280.     shadow          = OUT
  281.     overlay_stretch = FALSE
  282.     state        = PRELIGHT
  283.       }
  284.     image 
  285.       {
  286.         function        = CHECK
  287.     overlay_file    = "checkActivePrelight.png"
  288.     shadow          = IN
  289.     overlay_stretch = FALSE
  290.     state        = PRELIGHT
  291.       }
  292. # insensitive
  293.     image 
  294.       {
  295.         function        = CHECK
  296.     shadow          = IN
  297.     file        = "checkActive.png"
  298.     recolorable    = TRUE
  299.     colorize_color  = { 0, 0, 0, 127}
  300.     state        = INSENSITIVE
  301.       }
  302.     image 
  303.       {
  304.         function        = CHECK
  305.     file        = "check.png"
  306.     recolorable    = TRUE
  307.     colorize_color  = { 0, 0, 0, 127}
  308.     state        = INSENSITIVE
  309.       }
  310. # inconsistent
  311.     image 
  312.       {
  313.         function        = CHECK
  314.     shadow          = ETCHED_IN
  315.     file        = "check.png"
  316.     recolorable    = TRUE
  317.     colorize_color  = { 0, 0, 0, 127}
  318.       }
  319.     image 
  320.       {
  321.         function        = CHECK
  322.     shadow          = OUT
  323.     overlay_file    = "check.png"
  324.     overlay_border  = { 0, 0, 0, 0 }
  325.     overlay_stretch = FALSE
  326.       }
  327.     image 
  328.       {
  329.         function        = CHECK
  330.     shadow          = IN
  331.     overlay_file    = "checkActive.png"
  332.     overlay_border  = { 0, 0, 0, 0 }
  333.     overlay_stretch = FALSE
  334.       }
  335.       
  336.   }
  337. }
  338.  
  339.  
  340. class "GtkRadioButton" style "checkradiobutton"
  341. class "GtkCheckButton" style "checkradiobutton"
  342. class "GtkTreeView" style "checkradiobutton"
  343. class "GtkCheckMenuItem" style "checkradiobutton"
  344. class "GtkRadioMenuItem" style "checkradiobutton"
  345.  
  346. style "blueprint-scrollbar" 
  347. {
  348.   GtkRange::slider_width = 13
  349.   GtkRange::stepper_size = 13
  350.   GtkScrollbar::min_slider_length = 45
  351.  
  352.   engine "blueprint" 
  353.     {
  354.     image
  355.       {
  356.     function    = BOX
  357.     file        = "vertScrollBkg.png"
  358.     border          = { 1, 1, 1, 1 }
  359.     stretch        = TRUE
  360.     orientation    = VERTICAL
  361.       }
  362.      image
  363.       {
  364.     function    = BOX
  365.     file        = "horzScrollBkg.png"
  366.     border          = { 1, 1, 1, 1 }
  367.     stretch        = TRUE
  368.     orientation    = HORIZONTAL
  369.       }
  370.     image 
  371.       {
  372.         function        = SLIDER
  373.     file            = "vertScrollInd.png"
  374.     border          = { 2, 2, 2, 2 }
  375.     stretch         = TRUE
  376.     orientation    = VERTICAL
  377.     overlay_file    = "vertScrollGrip.png"
  378.     overlay_stretch    = FALSE
  379.     state        = NORMAL
  380.       }
  381.     image 
  382.       {
  383.         function        = SLIDER
  384.     file            = "horzScrollInd.png"
  385.     border          = { 2, 2, 2, 2 }
  386.     stretch         = TRUE
  387.     orientation     = HORIZONTAL
  388.     overlay_file    = "horzScrollGrip.png"
  389.     overlay_stretch    = FALSE
  390.     state        = NORMAL
  391.       }
  392.     image 
  393.       {
  394.         function        = SLIDER
  395.     file            = "vertScrollInd.png"
  396.     border          = { 2, 2, 2, 2 }
  397.     stretch         = TRUE
  398.     orientation    = VERTICAL
  399.     overlay_file    = "vertScrollGrip.png"
  400.     overlay_stretch    = FALSE
  401.     state        = PRELIGHT
  402.     recolorable    = TRUE
  403.     colorize_color  = { 89, 79, 191, 255}
  404.       }
  405.     image 
  406.       {
  407.         function        = SLIDER
  408.     file            = "horzScrollInd.png"
  409.     border          = { 2, 2, 2, 2 }
  410.     stretch         = TRUE
  411.     orientation     = HORIZONTAL
  412.     overlay_file    = "horzScrollGrip.png"
  413.     overlay_stretch    = FALSE
  414.     state        = PRELIGHT
  415.     recolorable    = TRUE
  416.     colorize_color  = { 89, 79, 191, 255}
  417.       }
  418.     image 
  419.       {
  420.         function        = SLIDER
  421.     file            = "vertScrollInd.png"
  422.     border          = { 2, 2, 2, 2 }
  423.     stretch         = TRUE
  424.     orientation    = VERTICAL
  425.     overlay_file    = "vertScrollGrip.png"
  426.     overlay_stretch    = FALSE
  427.     state        = INSENSITIVE
  428.     recolorable    = TRUE
  429.     colorize_color  = { 0, 0, 0, 127}
  430.       }
  431.     image 
  432.       {
  433.         function        = SLIDER
  434.     file            = "horzScrollInd.png"
  435.     border          = { 2, 2, 2, 2 }
  436.     stretch         = TRUE
  437.     orientation     = HORIZONTAL
  438.     overlay_file    = "horzScrollGrip.png"
  439.     overlay_stretch    = FALSE
  440.     state        = INSENSITIVE
  441.     recolorable    = TRUE
  442.     colorize_color  = { 0, 0, 0, 127}
  443.       }
  444.  
  445.     image 
  446.       {
  447.         function        = STEPPER
  448.     file        = "vertStepUp.png"
  449.     stretch        = TRUE
  450.     arrow_direction = UP
  451.     overlay_file    = "vertStepUpButton.png"
  452.     state        = NORMAL
  453.       }
  454.     image 
  455.       {
  456.         function        = STEPPER
  457.     file        = "vertStepUp.png"
  458.     stretch        = TRUE
  459.     overlay_file    = "vertStepUpButton.png"
  460.     arrow_direction = UP
  461.     state        = PRELIGHT
  462.     recolorable    = TRUE
  463.     colorize_color  = { 89, 79, 191, 255}
  464.       }      
  465.     image 
  466.       {
  467.         function        = STEPPER
  468.     file        = "vertStepUp.png"
  469.     stretch        = TRUE
  470.     overlay_file    = "vertStepUpButton.png"
  471.     arrow_direction = UP
  472.     state        = INSENSITIVE
  473.     recolorable    = TRUE
  474.     colorize_color  = { 0, 0, 0, 127}
  475.       }    
  476.     image 
  477.       {
  478.         function        = STEPPER
  479.     file        = "vertStepUpPress.png"
  480.     stretch        = TRUE
  481.     overlay_file    = "vertStepUpButtonPress.png"
  482.     arrow_direction = UP
  483.     state        = ACTIVE
  484.       }
  485.     image 
  486.       {
  487.         function        = STEPPER
  488.     file        = "vertStepDwn.png"
  489.     stretch        = TRUE
  490.     arrow_direction = DOWN
  491.     overlay_file    = "vertStepDwnButton.png"
  492.     state            = NORMAL
  493.       }
  494.     image 
  495.       {
  496.         function        = STEPPER
  497.     file        = "vertStepDwn.png"
  498.     stretch        = TRUE
  499.     arrow_direction = DOWN
  500.     overlay_file    = "vertStepDwnButton.png"
  501.     state        = PRELIGHT
  502.     recolorable    = TRUE
  503.     colorize_color  = { 89, 79, 191, 255}
  504.       }
  505.     image 
  506.       {
  507.         function        = STEPPER
  508.     file        = "vertStepDwn.png"
  509.     stretch        = TRUE
  510.     arrow_direction = DOWN
  511.     overlay_file    = "vertStepDwnButton.png"
  512.     state        = INSENSITIVE
  513.     recolorable    = TRUE
  514.     colorize_color  = { 0, 0, 0, 127}
  515.       }    
  516.     image 
  517.       {
  518.         function        = STEPPER
  519.     file        = "vertStepDwnPress.png"
  520.     stretch        = TRUE
  521.     arrow_direction = DOWN
  522.     overlay_file    = "vertStepDwnButtonPress.png"
  523.     state        = ACTIVE
  524.       }
  525.     image 
  526.       {
  527.         function        = STEPPER
  528.     file        = "horzStepLft.png"
  529.     stretch        = TRUE
  530.     overlay_file    = "horzStepLftButton.png"
  531.     arrow_direction = LEFT
  532.     state        = NORMAL
  533.       }
  534.     image 
  535.       {
  536.         function        = STEPPER
  537.     file        = "horzStepLft.png"
  538.     stretch        = TRUE
  539.     overlay_file    = "horzStepLftButton.png"
  540.     arrow_direction = LEFT
  541.     state        = PRELIGHT
  542.     recolorable    = TRUE
  543.     colorize_color  = { 89, 79, 191, 255}
  544.       }
  545.     image 
  546.       {
  547.         function        = STEPPER
  548.     file        = "horzStepLft.png"
  549.     stretch        = TRUE
  550.     overlay_file    = "horzStepLftButton.png"
  551.     arrow_direction = LEFT
  552.     state        = INSENSITIVE
  553.     recolorable    = TRUE
  554.     colorize_color  = { 0, 0, 0, 127}
  555.       }
  556.     image 
  557.       {
  558.         function        = STEPPER
  559.     file        = "horzStepLftPress.png"
  560.     stretch        = TRUE
  561.     overlay_file    = "horzStepLftButtonPress.png"
  562.     arrow_direction = LEFT
  563.     state        = ACTIVE
  564.       }
  565.     image 
  566.       {
  567.         function        = STEPPER
  568.     file        = "horzStepRht.png"
  569.     overlay_file    = "horzStepRhtButton.png"
  570.     stretch        = TRUE
  571.     arrow_direction = RIGHT
  572.     state        = NORMAL
  573.       }
  574.     image 
  575.       {
  576.         function        = STEPPER
  577.     file        = "horzStepRht.png"
  578.     stretch        = TRUE
  579.     overlay_file    = "horzStepRhtButton.png"
  580.     arrow_direction = LEFT
  581.     arrow_direction = RIGHT
  582.     state        = PRELIGHT
  583.     recolorable    = TRUE
  584.     colorize_color  = { 89, 79, 191, 255}
  585.       }
  586.     image 
  587.       {
  588.         function        = STEPPER
  589.     file        = "horzStepRht.png"
  590.     stretch        = TRUE
  591.     overlay_file    = "horzStepRhtButton.png"
  592.     arrow_direction = LEFT
  593.     arrow_direction = RIGHT
  594.     state        = INSENSITIVE
  595.     recolorable    = TRUE
  596.     colorize_color  = { 0, 0, 0, 127}
  597.       }
  598.     image 
  599.       {
  600.         function        = STEPPER
  601.     file        = "horzStepRhtPress.png"
  602.     stretch        = TRUE
  603.     overlay_file    = "horzStepRhtButtonPress.png"
  604.     arrow_direction = RIGHT
  605.     state        = ACTIVE
  606.       }
  607.     }
  608. }
  609.  
  610. class "GtkScrollbar" style "blueprint-scrollbar"
  611.  
  612. style "blueprint-range" 
  613. {
  614.   GtkRange::slider_width = 10
  615.   GtkRange::stepper_size = 14
  616.  
  617.   engine "blueprint" 
  618.     {
  619.     image
  620.       {
  621.     function    = BOX
  622.     file        = "vertRangeTrough.png"
  623.     border          = { 5, 5, 9, 9}
  624.     stretch        = TRUE
  625.     orientation    = VERTICAL
  626.       }
  627.     image 
  628.       {
  629.         function        = SLIDER
  630.     overlay_file    = "vertRangeKnobPrelight.png"
  631.     overlay_stretch    = FALSE
  632.     state        = PRELIGHT
  633.     orientation    = VERTICAL
  634.       }
  635.     image 
  636.       {
  637.         function        = SLIDER
  638.     overlay_file    = "vertRangeKnob.png"
  639.     overlay_stretch    = FALSE
  640.     orientation    = VERTICAL
  641.       }
  642.     image
  643.       {
  644.     function    = BOX
  645.     file        = "horzRangeTrough.png"
  646.     border          = { 9, 9, 5, 5}
  647.     stretch        = TRUE
  648.     orientation    = HORIZONTAL
  649.       }
  650.     image 
  651.       {
  652.         function        = SLIDER
  653.     overlay_file    = "horzRangeKnobPrelight.png"
  654.     overlay_stretch    = FALSE
  655.     state        = PRELIGHT
  656.     orientation    = HORIZONTAL
  657.       }
  658.     image 
  659.       {
  660.         function        = SLIDER
  661.     overlay_file    = "horzRangeKnob.png"
  662.     overlay_stretch    = FALSE
  663.     orientation    = HORIZONTAL
  664.       }
  665.     }
  666. }
  667.  
  668. class "GtkRange" style "blueprint-range"
  669.  
  670. style "blueprint-entry" = "default"
  671. {
  672.   engine "blueprint"
  673.   {
  674.       image
  675.     {
  676.       function      = SHADOW
  677.       file          = "comboBoxShadowMask.png"
  678.       border      = {10, 1, 2, 2}
  679.       stretch      = TRUE
  680.       overlay_file      = "comboBoxShadow.png"
  681.       overlay_border  = {10, 1, 2, 2}
  682.       overlay_stretch = TRUE
  683.       use_as_bkg_mask = TRUE
  684.       colorize_color  = {227, 227, 238, 255}
  685.       parent_type      = { "GtkCombo", "GnomeEntry"}
  686.     }
  687.       image
  688.     {
  689.       function      = FLAT_BOX
  690.       detail      = "entry_bg"
  691.       file          = "comboBoxTextFieldMask.png"
  692.       border      = {9, 0, 0, 0}
  693.       stretch      = TRUE
  694.       overlay_file      = "comboBoxTextField.png"
  695.       overlay_border  = {9, 0, 0, 0}
  696.       overlay_stretch = TRUE
  697.       use_as_bkg_mask = TRUE
  698.       colorize_color  = {227, 227, 238, 255}
  699.       parent_type      = { "GtkCombo", "GnomeEntry"}
  700.     }
  701.       image
  702.     {
  703.       function      = SHADOW
  704.       detail      = "entry"
  705.       file          = "textfieldShadowMask.png"
  706.       border      = {11, 11, 3, 3}
  707.       stretch      = TRUE
  708.       overlay_file      = "textfieldShadow.png"
  709.       overlay_border  = {11, 11, 3, 3}
  710.       overlay_stretch = TRUE
  711.       use_as_bkg_mask = TRUE
  712.       colorize_color  = {227, 227, 238, 255}
  713.     }
  714.       image
  715.     {
  716.       function      = FLAT_BOX
  717.       detail      = "entry_bg"
  718.       file          = "textfieldinnerfieldMask.png"
  719.       border      = {9, 9, 1, 1}
  720.       stretch      = TRUE
  721.       overlay_file      = "textfieldinnerfield.png"
  722.       overlay_border  = {9, 9, 1, 1}
  723.       overlay_stretch = TRUE
  724.       use_as_bkg_mask = TRUE
  725.       colorize_color  = {227, 227, 238, 255}
  726.     }
  727.   }
  728. }
  729.  
  730. class "GtkEntry" style "blueprint-entry"
  731.  
  732. style "blueprint-menu" = "default"
  733. {
  734.  
  735.   bg[PRELIGHT]    = "#594fbf"
  736.   fg[PRELIGHT]    = "#ffffff"
  737.  
  738.   engine "blueprint" 
  739.   {     
  740. #       image
  741. #    {
  742. #      function      = BACKGROUND
  743. #      file          = "menu.png"
  744. #      border      = {2, 2, 2, 2}
  745. #      stretch      = TRUE
  746. #    }
  747.        image
  748.     {
  749.       function      = SHADOW
  750.       file          = "menu.png"
  751.       border      = {2, 2, 2, 2}
  752.       stretch      = TRUE
  753.       recolorable      = TRUE
  754.       colorize_color  = { 227, 227, 238, 127}
  755.     }
  756.        image
  757.     {
  758.       function      = BOX
  759.       file          = "generalButton.png"
  760.       border      = {3, 3, 3, 3}
  761.       stretch      = TRUE
  762.       detail      = "optionmenu"
  763.     }
  764.     image
  765.     {
  766.       function      = BOX
  767.       file          = "menuitembar.png"
  768.       stretch      = TRUE
  769.       overlay_file      = "menuitem.png"
  770.       overlay_border  = { 9, 0, 8, 8 }
  771.       overlay_stretch = TRUE
  772.       parent_type      = { "GtkMenuBar" }
  773.     }
  774.     image
  775.     {
  776.       function      = BOX
  777.       file          = "menuitem.png"
  778.       border      = { 9, 0, 8, 8 }
  779.       stretch      = TRUE
  780.       parent_type      = { "GtkMenu", "PanelMenu" }
  781.     }
  782.     image
  783.     {
  784.       function      = HLINE
  785.       file          = "menuSeparator.png"
  786.       border      = { 1, 1, 3, 0 }
  787.       stretch      = TRUE
  788.       recolorable      = TRUE
  789.       colorize_color  = { 227, 227, 238, 127}
  790.     }
  791.     image 
  792.     {
  793.       function      = ARROW
  794.       overlay_file      = "vertStepUpButton.png"
  795.       overlay_stretch = FALSE
  796.       arrow_direction = UP
  797.     }
  798.     image 
  799.     {
  800.       function      = ARROW
  801.       overlay_file      = "vertStepDwnButton.png"
  802.       overlay_stretch = FALSE
  803.       arrow_direction = DOWN
  804.     }
  805.     image 
  806.     {
  807.       function      = ARROW
  808.       overlay_file      = "horzStepLftButton.png"
  809.       overlay_stretch = FALSE
  810.       arrow_direction = LEFT
  811.     }
  812.     image 
  813.     {
  814.       function      = ARROW
  815.       overlay_file      = "horzStepRhtButton.png"
  816.       overlay_stretch = FALSE
  817.       arrow_direction = RIGHT
  818.     }
  819.   }
  820. }
  821.  
  822. class "GtkMenu" style "blueprint-menu"
  823. class "GtkOptionMenu" style "blueprint-menu"
  824. class "GtkMenuItem" style "blueprint-menu"
  825.  
  826. style "blueprint-toolbar" 
  827. {
  828.   engine "blueprint" 
  829.   {
  830.       image
  831.     {
  832.       function      = BOX 
  833.       file          = "toolbar.png"
  834.       border      = {1, 1, 1, 1}
  835.       stretch      = TRUE
  836.       detail      = "toolbar"
  837.     }
  838.   }
  839. }
  840.  
  841. #class "GtkToolbar" style "blueprint-toolbar"
  842. widget_class "BonoboUIToolbar" style "blueprint-toolbar"
  843.  
  844.  
  845. style "blueprint-spin" = "default"
  846. {
  847.   engine "blueprint"
  848.   {
  849.     image
  850.       {
  851.     function        = BOX
  852.     file            = "fullMask.png"
  853.     stretch            = TRUE
  854.     detail            = "spinbutton_up"
  855.     state            = NORMAL
  856.     overlay_file        = "spin_up.png"
  857.     overlay_stretch        = TRUE
  858.     use_as_bkg_mask        = TRUE
  859.     colorize_color        = {227, 227, 238, 255}
  860.       }
  861.     image
  862.       {
  863.     function        = BOX
  864.     file            = "fullMask.png"
  865.     stretch            = TRUE
  866.     overlay_file        = "spin_upInsensitive.png"
  867.     overlay_stretch        = TRUE
  868.     detail            = "spinbutton_up"
  869.     state            = INSENSITIVE
  870. #        overlay_recolorable = TRUE
  871. #        overlay_colorize_color    = { 120, 130, 141, 127}
  872.     use_as_bkg_mask        = TRUE
  873.     colorize_color        = {227, 227, 238, 255}
  874.       }
  875.     image
  876.       {
  877.     function        = BOX
  878.     file            = "fullMask.png"
  879.     stretch            = TRUE
  880.     overlay_file        = "spin_upPrelight.png"
  881.     overlay_stretch        = TRUE
  882.     detail            = "spinbutton_up"
  883.     state            = PRELIGHT
  884.     use_as_bkg_mask        = TRUE
  885.     colorize_color        = {227, 227, 238, 255}
  886.       }
  887.     image
  888.       {
  889.     function        = BOX
  890.     file            = "fullMask.png"
  891.     stretch            = TRUE
  892.     overlay_file        = "spin_upActive.png"
  893.     overlay_stretch        = TRUE
  894.     detail            = "spinbutton_up"
  895.     state            = ACTIVE
  896.     use_as_bkg_mask        = TRUE
  897.     colorize_color        = {227, 227, 238, 255}
  898.       }
  899.     image
  900.       {
  901.     function        = BOX
  902.     file            = "fullMask.png"
  903.     stretch            = TRUE
  904.     overlay_file        = "spin_down.png"
  905.     overlay_stretch        = TRUE
  906.     detail            = "spinbutton_down"
  907.     state            = NORMAL
  908.     use_as_bkg_mask        = TRUE
  909.     colorize_color        = {227, 227, 238, 255}
  910.       }
  911.     image
  912.       {
  913.     function        = BOX
  914.     file            = "fullMask.png"
  915.     stretch            = TRUE
  916.     overlay_file        = "spin_downInsensitive.png"
  917.     overlay_stretch        = TRUE
  918.     detail            = "spinbutton_down"
  919.     state            = INSENSITIVE
  920. #        overlay_recolorable = TRUE
  921. #        overlay_colorize_color = { 120, 130, 141, 127}
  922.     use_as_bkg_mask        = TRUE
  923.     colorize_color        = {227, 227, 238, 255}
  924.       }
  925.     image
  926.       {
  927.     function        = BOX
  928.     file            = "fullMask.png"
  929.     stretch            = TRUE
  930.     overlay_file        = "spin_downPrelight.png"
  931.     overlay_stretch        = TRUE
  932.     detail            = "spinbutton_down"
  933.     state            = PRELIGHT
  934.     use_as_bkg_mask        = TRUE
  935.     colorize_color        = {227, 227, 238, 255}
  936.       }
  937.     image
  938.       {
  939.     function        = BOX
  940.     file            = "fullMask.png"
  941.     stretch            = TRUE
  942.     overlay_file        = "spin_downActive.png"
  943.     overlay_stretch        = TRUE
  944.     detail            = "spinbutton_down"
  945.     state            = ACTIVE
  946.     use_as_bkg_mask        = TRUE
  947.     colorize_color        = {227, 227, 238, 255}
  948.       }
  949.     image
  950.       {
  951.     function        = ARROW
  952.     overlay_file        = "noArrow.png"
  953.       }
  954.     image
  955.       {
  956.     function        = BOX
  957.     overlay_file        = "noArrow.png"
  958.     detail            = "spinbutton"
  959.       }
  960.     image
  961.       {
  962.     function        = FLAT_BOX
  963.     detail            = "entry_bg"
  964.     file            = "comboBoxTextFieldMask.png"
  965.     border            = {9, 0, 0, 0}
  966.     stretch            = TRUE
  967.     overlay_file        = "comboBoxTextField.png"
  968.     overlay_border        = {9, 0, 0, 0}
  969.     overlay_stretch        = TRUE
  970.     use_as_bkg_mask        = TRUE
  971.     colorize_color        = {227, 227, 238, 255}
  972.       }
  973.     
  974.     image
  975.       {
  976.     function        = SHADOW
  977.     detail            = "entry"
  978.     file            = "comboBoxShadowMask.png"
  979.     border            = {10, 1, 2, 2}
  980.     stretch            = TRUE
  981.     overlay_file        = "comboBoxShadow.png"
  982.     overlay_border        = {10, 1, 2, 2}
  983.     overlay_stretch        = TRUE
  984.     use_as_bkg_mask        = TRUE
  985.     colorize_color        = {227, 227, 238, 255}
  986.       }
  987.   }
  988. }
  989.   
  990. class "GtkSpinButton" style "blueprint-spin"
  991.   
  992.  
  993. style "blueprint-handle-pane"
  994. {
  995.   GtkPaned::handle-size = 8
  996.   engine "blueprint"
  997.   {
  998.       image 
  999.     {
  1000.       function        = HANDLE
  1001.       file          = "vertPaneBkg.png"
  1002. #      border          = { 2, 1, 2, 1 }
  1003.       stretch      = TRUE
  1004.       overlay_file      = "vertPaneGrip.png"
  1005.       overlay_stretch = FALSE
  1006.       orientation      = VERTICAL
  1007.       state          = NORMAL
  1008.       detail      = "paned"
  1009.     }
  1010.       image 
  1011.     {
  1012.       function        = HANDLE
  1013.       file          = "horzPaneBkg.png"
  1014. #      border          = { 2, 1, 2, 1 }
  1015.       stretch      = TRUE
  1016.       overlay_file      = "horzPaneGrip.png"
  1017.       overlay_stretch = FALSE
  1018.       orientation      = HORIZONTAL
  1019.       state          = NORMAL
  1020.       detail      = "paned"
  1021.     }
  1022.       image 
  1023.     {
  1024.       function        = HANDLE
  1025.       file          = "vertPaneBkg.png"
  1026. #      border          = { 2, 1, 2, 1 }
  1027.       stretch      = TRUE
  1028.       overlay_file      = "vertPaneGripPrelight.png"
  1029.       overlay_stretch = FALSE
  1030.       orientation      = VERTICAL
  1031.       state          = PRELIGHT
  1032.       detail      = "paned"
  1033.     }
  1034.       image 
  1035.     {
  1036.       function        = HANDLE
  1037.       file          = "horzPaneBkg.png"
  1038. #      border          = { 2, 1, 2, 1 }
  1039.       stretch      = TRUE
  1040.       overlay_file      = "horzPaneGripPrelight.png"
  1041.       overlay_stretch = FALSE
  1042.       orientation      = HORIZONTAL
  1043.       state          = PRELIGHT
  1044.       detail      = "paned"
  1045.     }
  1046. # dockitem and GtkHandle in the Panel are swapping their orientations
  1047. # wrt to plain GtkHandle.
  1048.        image 
  1049.     {
  1050.       function        = HANDLE
  1051.       file          = "vertHandle.png"
  1052.       border          = { 2, 1, 2, 1 }
  1053.       stretch      = TRUE
  1054.       overlay_file      = "vertHandleGrip.png"
  1055.       overlay_stretch = FALSE
  1056.       orientation      = HORIZONTAL
  1057.       detail      = "dockitem"
  1058.     }
  1059.       image 
  1060.     {
  1061.       function        = HANDLE
  1062.       file          = "horzHandle.png"
  1063.       border          = { 2, 1, 2, 1 }
  1064.       stretch      = TRUE
  1065.       overlay_file      = "horzHandleGrip.png"
  1066.       overlay_stretch = FALSE
  1067.       orientation      = VERTICAL
  1068.       detail      = "dockitem"
  1069.     }
  1070.       image 
  1071.     {
  1072.       function        = HANDLE
  1073.       file          = "vertHandle.png"
  1074.       border          = { 2, 1, 2, 1 }
  1075.       stretch      = TRUE
  1076.       overlay_file      = "vertHandleGrip.png"
  1077.       overlay_stretch = FALSE
  1078.       orientation      = HORIZONTAL
  1079.       parent_type      = { "PanelWidget" }
  1080.     }
  1081.       image 
  1082.     {
  1083.       function        = HANDLE
  1084.       file          = "horzHandle.png"
  1085.       border          = { 2, 1, 2, 1 }
  1086.       stretch      = TRUE
  1087.       overlay_file      = "horzHandleGrip.png"
  1088.       overlay_stretch = FALSE
  1089.       orientation      = VERTICAL
  1090.       detail      = "handlebox"
  1091.       parent_type      = { "PanelWidget" }
  1092.     }
  1093.       image 
  1094.     {
  1095.       function        = HANDLE
  1096.       file          = "vertHandle.png"
  1097.       border          = { 2, 1, 2, 1 }
  1098.       stretch      = TRUE
  1099.       overlay_file      = "vertHandleGrip.png"
  1100.       overlay_stretch = FALSE
  1101.       orientation      = VERTICAL
  1102.       detail      = "handlebox"
  1103.     }
  1104.       image 
  1105.     {
  1106.       function        = HANDLE
  1107.       file          = "horzHandle.png"
  1108.       border          = { 2, 1, 2, 1 }
  1109.       stretch      = TRUE
  1110.       overlay_file      = "horzHandleGrip.png"
  1111.       overlay_stretch = FALSE
  1112.       orientation      = HORIZONTAL
  1113.       detail      = "handlebox"
  1114.     }
  1115.   }
  1116. }
  1117.  
  1118. class "GtkHandleBox" style "blueprint-handle-pane" 
  1119. class "GtkPaned" style "blueprint-handle-pane" 
  1120. widget_class "*.BonoboDockItemGrip" style "blueprint-handle-pane"
  1121. widget_class "*.PanelAppletFrame" style "blueprint-handle-pane"
  1122.  
  1123. style "blueprint-notebook" = "default"
  1124. {
  1125.   engine "blueprint" 
  1126.     {
  1127.     image 
  1128.       {
  1129.         function        = EXTENSION
  1130.     state           = ACTIVE
  1131.     file            = "tabTop.png"
  1132.     border          = { 7, 7, 15, 3 }
  1133.     stretch         = TRUE
  1134.     gap_side        = BOTTOM
  1135.     recolorable    = TRUE
  1136.     colorize_color  = { 227, 227, 238, 127}
  1137.       }
  1138.     image 
  1139.       {
  1140.         function        = EXTENSION
  1141.     file            = "tabTopActive.png"
  1142.     border          = { 7, 7, 14, 3 }
  1143.     stretch         = TRUE
  1144.     gap_side        = BOTTOM
  1145.     recolorable    = TRUE
  1146.     colorize_color  = { 227, 227, 238, 127}
  1147.       }
  1148.     image 
  1149.       {
  1150.         function        = EXTENSION
  1151.     state           = ACTIVE
  1152.     file            = "tabBottom.png"
  1153.     border          = { 7, 7, 3, 15 }
  1154.     stretch         = TRUE
  1155.     gap_side        = TOP
  1156.     recolorable    = TRUE
  1157.     colorize_color  = { 227, 227, 238, 127}
  1158.       }
  1159.     image 
  1160.       {
  1161.         function        = EXTENSION
  1162.     file            = "tabBottomActive.png"
  1163.     border          = { 7, 7, 3, 14 }
  1164.     stretch         = TRUE
  1165.     gap_side        = TOP
  1166.     recolorable    = TRUE
  1167.     colorize_color  = { 227, 227, 238, 127}
  1168.       }
  1169.     image 
  1170.       {
  1171.         function        = EXTENSION
  1172.     state           = ACTIVE
  1173.     file            = "tabLeft.png"
  1174.     border          = { 15, 3, 7, 7 }
  1175.     stretch         = TRUE
  1176.     gap_side        = RIGHT
  1177.     recolorable    = TRUE
  1178.     colorize_color  = { 227, 227, 238, 127}
  1179.       }
  1180.     image 
  1181.       {
  1182.         function        = EXTENSION
  1183.     file            = "tabLeftActive.png"
  1184.     border          = { 14, 3, 7, 7 }
  1185.     stretch         = TRUE
  1186.     gap_side        = RIGHT
  1187.     recolorable    = TRUE
  1188.     colorize_color  = { 227, 227, 238, 127}
  1189.       }
  1190.     image 
  1191.       {
  1192.         function        = EXTENSION
  1193.     state           = ACTIVE
  1194.     file            = "tabRight.png"
  1195.     border          = { 3, 15, 7, 7 }
  1196.     stretch         = TRUE
  1197.     gap_side        = LEFT
  1198.     recolorable    = TRUE
  1199.     colorize_color  = { 227, 227, 238, 127}
  1200.       }
  1201.     image 
  1202.       {
  1203.         function        = EXTENSION
  1204.     file            = "tabRightActive.png"
  1205.     border          = { 3, 14, 7, 7 }
  1206.     stretch         = TRUE
  1207.     gap_side        = LEFT
  1208.     recolorable    = TRUE
  1209.     colorize_color  = { 227, 227, 238, 127}
  1210.       }
  1211. #
  1212. # How to draw boxes with a gap on one side (ie the page of a notebook)
  1213. #
  1214.     image 
  1215.       {
  1216.         function        = BOX_GAP
  1217.     file            = "extensionTop.png"
  1218.     border          = { 2, 3, 6, 1 }
  1219.     stretch         = TRUE
  1220.     gap_side        = TOP
  1221.     recolorable    = TRUE
  1222.     colorize_color  = { 227, 227, 238, 127}
  1223.       }
  1224.     image 
  1225.       {
  1226.         function        = BOX_GAP
  1227.     file            = "extensionBottom.png"
  1228.     border          = { 2, 3, 1, 6 }
  1229.     stretch         = TRUE
  1230.     gap_side        = BOTTOM
  1231.     recolorable    = TRUE
  1232.     colorize_color  = { 227, 227, 238, 127}
  1233.       }
  1234.     image 
  1235.       {
  1236.         function        = BOX_GAP
  1237.     file            = "extensionLeft.png"
  1238.     border          = { 6, 1, 3, 2 }
  1239.     stretch         = TRUE
  1240.     gap_side        = LEFT
  1241.     recolorable    = TRUE
  1242.     colorize_color  = { 227, 227, 238, 127}
  1243.       }
  1244.     image 
  1245.       {
  1246.         function        = BOX_GAP
  1247.     file            = "extensionRight.png"
  1248.     border          = { 1, 6, 2, 3 }
  1249.     stretch         = TRUE
  1250.     gap_side        = RIGHT
  1251.     recolorable    = TRUE
  1252.     colorize_color  = { 227, 227, 238, 127}
  1253.       }
  1254.   }
  1255. }
  1256.  
  1257. class "GtkNotebook" style "blueprint-notebook"
  1258.  
  1259. style "lighter" = "default"
  1260. {
  1261.   bg[NORMAL] = "#c5c6cc"
  1262. }
  1263. style "tips" 
  1264. {
  1265.   bg[NORMAL] = "#ffffcc"
  1266. }
  1267.  
  1268. style "task"
  1269. {
  1270.   engine "blueprint"
  1271.   {
  1272.     image
  1273.       {
  1274.       function      = BOX
  1275.       file          = "generalButton.png"
  1276.       border      = {3, 3, 3, 3}
  1277.       stretch      = TRUE
  1278.       detail      = "button"
  1279.       recolorable      = TRUE
  1280.           colorize_color  = { 0, 0, 0, 64}
  1281.       }
  1282.   }
  1283. }
  1284.  
  1285. class "WnckPager" style "lighter"
  1286. #widget_class "*.WnckTasklist.*" style "task"
  1287. widget_class "*.tooltips.*.GtkToggleButton"  style "lighter"
  1288. widget "gtk-tooltips" style "tips"
  1289.  
  1290. style "my-test"
  1291. {
  1292.   engine "blueprint"
  1293.   {
  1294.     image 
  1295.       {
  1296.         function        = FLAT_BOX
  1297.     file            = "generalButton.png"
  1298.     border        = {3, 3, 3, 3}
  1299.     stretch         = TRUE
  1300.       }
  1301.   }
  1302. }
  1303.  
  1304. #widget_class "*.BonoboPlug" style "my-test"
  1305.  
  1306.